package kr.hkit.summary_java.erp.dto;

public class Employee {
	private int empNo;
	private String empName;
	private int title;
	private int manager;
	private int salary;
	private int deptNo;
	public Employee() {
		
	}
	public Employee(int empNo, String empName, int title, int manager,
			int salary, int deptNo) {
		super();
		this.empNo = empNo;
		this.empName = empName;
		this.title = title;
		this.manager = manager;
		this.salary = salary;
		this.deptNo = deptNo;
	}
	public int getEmpNo() {
		return empNo;
	}
	public void setEmpNo(int empNo) {
		this.empNo = empNo;
	}
	public String getEmpName() {
		return empName;
	}
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	public int getTitle() {
		return title;
	}
	public void setTitle(int title) {
		this.title = title;
	}
	public int getManager() {
		return manager;
	}
	public void setManager(int manager) {
		this.manager = manager;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	public int getDeptNo() {
		return deptNo;
	}
	public void setDeptNo(int deptNo) {
		this.deptNo = deptNo;
	}
	@Override
	public String toString() {
		return String
				.format("Employee [empNo=%s, empName=%s, title=%s, manager=%s, salary=%s, deptNo=%s]",
						empNo, empName, title, manager, salary, deptNo);
	}
	
}
